package com.dkm.biz.gl.persistence.entity;
import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:属性集 Tbl对象
 * 开发公司:SKG.COM
 * 开发人员:刘启辉
 * 创建时间:2015-01-16 17:50:30
 */
 @ITable(name="eavSet",code="skg_eav_set")
public class EavSetTbl extends AbstractPo<String>{
	@IField(name="id",column="id_")
	protected String  id; 		/*属性集 ID*/
	@IField(name="key",column="key_")
	protected String  key; 		/*业务键*/
	@IField(name="name",column="name_")
	protected String  name; 		/*名称*/
	@IField(name="comment",column="comment_")
	protected String  comment; 		/*备注*/
	@IField(name="status",column="status_")
	protected String  status; 		/*inactive=未激活；actived=已激活*/
	@IField(name="sort",column="sort_")
	protected Integer  sort; 		/*排序号*/
	@IField(name="entityType",column="entity_type_")
	protected String  entityType; 		/*所属实体类型。home=场景；whole=户型；member=会员；designer=设计师；admin=管理员；product=产品*/
	@IField(name="createBy",column="create_by_")
	protected String  createBy; 		/*创建者*/
	@IField(name="createTime",column="create_time_")
	protected java.util.Date  createTime; 		/*创建时间*/
	@IField(name="updateBy",column="update_by_")
	protected String  updateBy; 		/*更新者*/
	@IField(name="updateTime",column="update_time_")
	protected java.util.Date  updateTime; 		/*更新时间*/
	@IField(name="version",column="version_")
	protected Integer  version; 		/*版本号*/
	
	public void setId(String id) 
	{
		this.id = id;
	}
	/**
	 * 返回 属性集 ID
	 * @return
	 */
	public String getId() 
	{
		return this.id;
	}
	public void setKey(String key) 
	{
		this.key = key;
	}
	/**
	 * 返回 业务键
	 * @return
	 */
	public String getKey() 
	{
		return this.key;
	}
	public void setName(String name) 
	{
		this.name = name;
	}
	/**
	 * 返回 名称
	 * @return
	 */
	public String getName() 
	{
		return this.name;
	}
	public void setComment(String comment) 
	{
		this.comment = comment;
	}
	/**
	 * 返回 备注
	 * @return
	 */
	public String getComment() 
	{
		return this.comment;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}
	/**
	 * 返回 inactive=未激活；actived=已激活
	 * @return
	 */
	public String getStatus() 
	{
		return this.status;
	}
	public void setSort(Integer sort) 
	{
		this.sort = sort;
	}
	/**
	 * 返回 排序号
	 * @return
	 */
	public Integer getSort() 
	{
		return this.sort;
	}
	public void setEntityType(String entityType) 
	{
		this.entityType = entityType;
	}
	/**
	 * 返回 所属实体类型。home=场景；whole=户型；member=会员；designer=设计师；admin=管理员；product=产品
	 * @return
	 */
	public String getEntityType() 
	{
		return this.entityType;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}
	/**
	 * 返回 创建者
	 * @return
	 */
	public String getCreateBy() 
	{
		return this.createBy;
	}
	public void setCreateTime(java.util.Date createTime) 
	{
		this.createTime = createTime;
	}
	/**
	 * 返回 创建时间
	 * @return
	 */
	public java.util.Date getCreateTime() 
	{
		return this.createTime;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}
	/**
	 * 返回 更新者
	 * @return
	 */
	public String getUpdateBy() 
	{
		return this.updateBy;
	}
	public void setUpdateTime(java.util.Date updateTime) 
	{
		this.updateTime = updateTime;
	}
	/**
	 * 返回 更新时间
	 * @return
	 */
	public java.util.Date getUpdateTime() 
	{
		return this.updateTime;
	}
	public void setVersion(Integer version) 
	{
		this.version = version;
	}
	/**
	 * 返回 版本号
	 * @return
	 */
	public Integer getVersion() 
	{
		return this.version;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("key", this.key) 
		.append("name", this.name) 
		.append("comment", this.comment) 
		.append("status", this.status) 
		.append("sort", this.sort) 
		.append("entityType", this.entityType) 
		.append("createBy", this.createBy) 
		.append("createTime", this.createTime) 
		.append("updateBy", this.updateBy) 
		.append("updateTime", this.updateTime) 
		.append("version", this.version) 
		.toString();
	}
}